package com.zz.personmodel;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Employee {
	private int id;
	private String person_name;
	
	private Date create_time;

	private Date laste_update_time;
	
	private Integer version_number ;
	
	private String gender;

	private Date birth_time;

	private String identity_number;

	private String matital_status;
	
	private String spouse_name;
	@Column(name="ID")
    @GeneratedValue(strategy=GenerationType.AUTO)
    @Id
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPerson_name() {
		return person_name;
	}

	public void setPerson_name(String person_name) {
		this.person_name = person_name;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Date getLaste_update_time() {
		return laste_update_time;
	}

	public void setLaste_update_time(Date laste_update_time) {
		this.laste_update_time = laste_update_time;
	}

	public Integer getVersion_number() {
		return version_number;
	}

	public void setVersion_number(Integer version_number) {
		this.version_number = version_number;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Date getBirth_time() {
		return birth_time;
	}

	public void setBirth_time(Date birth_time) {
		this.birth_time = birth_time;
	}

	public String getIdentity_number() {
		return identity_number;
	}

	public void setIdentity_number(String identity_number) {
		this.identity_number = identity_number;
	}

	public String getMatital_status() {
		return matital_status;
	}

	public void setMatital_status(String matital_status) {
		this.matital_status = matital_status;
	}

	public String getSpouse_name() {
		return spouse_name;
	}

	public void setSpouse_name(String spouse_name) {
		this.spouse_name = spouse_name;
	}
}
